package com._101aiot.auth.service.impl;

import com._101aiot.auth.dao.AuthResourceRoleRepository;
import com._101aiot.auth.entity.AuthResourceRoleDO;
import com._101aiot.auth.service.AuthResourceRoleService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 资源角色获取
 * @author xionggd
 */
@AllArgsConstructor
@Service
public class AuthResourceRoleServiceImpl implements AuthResourceRoleService {

    private final AuthResourceRoleRepository authResourceRoleRepository;

    @Override
    public List<AuthResourceRoleDO> findAll() {

        return authResourceRoleRepository.findAll();
    }
}
